package com.hmall.service;


import com.hmall.common.dto.Item;
import com.hmall.common.dto.PageDTO;
import com.hmall.common.dto.RequestParams;
import com.hmall.pojo.PageResult;

import java.util.List;
import java.util.Map;


public interface ISearchService {

    void bulkDocumentData(PageDTO<Item> pageDTO);

    PageResult search(RequestParams params);

    List<String> getSuggestions(String prefix);

    Map<String, List<String>> filters(RequestParams params);

    void deleteById(Long id);

    void insertById(Long id);
}
